package com.framework.common.auto;

import com.framework.common.enums.IEnum;
import lombok.AllArgsConstructor;

import java.io.Serializable;

/**
 * @author 李汉波
 * @date 2021/5/12 15:12
 */
@AllArgsConstructor
public enum UserType implements IEnum, Serializable {
    //用户类型
    type_0("0", "前端会员"),
    type_1("1", "后台管理员"),
    type_2("2", "前端内部用户"),
    type_3("3", "外部用户openid");

    private String val;
    private String name;

    @Override
    public String getVal() {
        return val;
    }

    @Override
    public String getName() {
        return name;
    }

}
